package com.computercourse.api.auth;

import com.computercourse.framework.domain.ucenter.request.LoginRequest;
import com.computercourse.framework.domain.ucenter.request.RegisterRequest;
import com.computercourse.framework.domain.ucenter.response.JwtResult;
import com.computercourse.framework.domain.ucenter.response.LoginResult;
import com.computercourse.framework.model.response.ResponseResult;
import io.swagger.annotations.Api;
import io.swagger.annotations.ApiOperation;

/**
 * @author Feng.Yuan
 * @description
 * @date 2020/1/31 10:13 下午
 * @return
 */
@Api(value = "用户认证", description = "用户认证接口")
public interface AuthControllerApi {

    @ApiOperation("登录")
    LoginResult login(LoginRequest loginRequest);

    @ApiOperation("注册")
    ResponseResult register(RegisterRequest registerRequest);

    @ApiOperation("退出")
    ResponseResult logout();

    @ApiOperation("查询用户jwt令牌")
     JwtResult userjwt();
}
